package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.IndexNavDto;
import com.hdax.dm.entity.item.DmItem;
import com.hdax.dm.entity.item.DmItemType;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class IndexNavDtoMapper {

    public abstract IndexNavDto toTarget(DmItemType itemType);

    public abstract List<IndexNavDto> toTargets(List<DmItemType> itemTypes);

    public abstract List<IndexNavDto.HotItems> toTargetsItem(List<DmItem> i);
}
